package com.example.usermanagement.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;


/**
 * 购买用户VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FlowUserShopVO {

    /**
     * id
     */
    private Long id;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 购买的套餐包
     */
    private List<PackageVO> packageVOS;

    /**
     * 剩余流量
     */
    private BigDecimal suprSize;

    /**
     *
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class PackageVO {

        /**
         * 购买的套餐包
         */
        private String packageName;

        /**
         * 剩余流量
         */
        private BigDecimal surplusFlowSize;

        /**
         * 购买时间
         */
        private Date shopTime;

        /**
         * 流量卡状态 0 关闭 1 开通
         */
        private Integer status;
    }
}
